package com.pactera.madp.cp.mapper.clientLossManagement;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pactera.madp.cp.api.bo.ContactLossBO;
import com.pactera.madp.cp.api.entity.clientLossManagement.ContactLossEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * @date: 2021/7/28 11:13
 * @description:
 */
public interface ContactLossMapper extends BaseMapper<ContactLossEntity> {

    Integer getStatistic(String toString, Integer corpId);

    List<ContactLossBO> getAllContactLossWithDept();

    List<ContactLossBO> getLossList(@Param("corpId") Integer corpId, @Param("tenantId") Integer tenantId, @Param("employeeIds") Set<Integer> employeeIds, @Param("endTime") String endTime);

}
